package com.tiny.model;

import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.Page;

public class SysLog extends Model<SysLog> {
	
	private static final long serialVersionUID = 5721481570867001056L;
	
	public static final SysLog dao = new SysLog();

	public Page<SysLog> paginate(int pageNumber, int pageSize) {
		return paginate(pageNumber, pageSize, "select *",
				"from syslog order by id asc");
	}
	
	public int getId() {
		return this.getInt("id");
	}

}
